package com.cn.shuangzi.permission;

import android.Manifest;
import android.app.Activity;

import com.cn.shuangzi.R;


/**
 * 动态申请必须的基本权限
 * Created by CN on 2017-10-20.
 */

public class RequestWritePermissionHelper extends RequestPermissionHelper {
    private static final String[] permissionArrays = {Manifest.permission
            .WRITE_EXTERNAL_STORAGE};
    private static final int[] permissionInfo = {R.string.open_storage_permit};
    public RequestWritePermissionHelper(Activity context, boolean isAlertOnPermissionReallyDeclined, RequestPermissionViewP requestPermissionViewP) {
        super(context, requestPermissionViewP, permissionArrays, permissionInfo,isAlertOnPermissionReallyDeclined);
    }
    public RequestWritePermissionHelper(Activity context,int[] permissionInfo, boolean isAlertOnPermissionReallyDeclined, RequestPermissionViewP requestPermissionViewP) {
        super(context, requestPermissionViewP, permissionArrays, permissionInfo,isAlertOnPermissionReallyDeclined);
    }
}
